package com.cxl.entity;


import java.io.Serializable;

public class CourseType implements Serializable {

  private Integer tid;
  private String tname;

  @Override
  public String toString() {
    return "CourseType{" +
            "tid=" + tid +
            ", tname='" + tname + '\'' +
            '}';
  }

  public Integer getTid() {
    return tid;
  }

  public void setTid(Integer tid) {
    this.tid = tid;
  }

  public String getTname() {
    return tname;
  }

  public void setTname(String tname) {
    this.tname = tname;
  }

  public CourseType() {
  }

  public CourseType(Integer tid, String tname) {
    this.tid = tid;
    this.tname = tname;
  }
}
